package org.example.com.annotation;

/**
 * 进货批次大小策略
 */
public enum LotSizeStrategy {
    //固定批量
    FIXED_LOT_SIZE,
    //按固定倍数订货
    MULTIPLE_OF_FIXED,
    //经济批量策略
    ECONOMIC_ORDER_QUANTITY;

    //在Item类中添加批量策略字段
    @MRPAnnotations.MRPField(description = "批量策略")
    private LotSizeStrategy lotSizeStrategy;

    public LotSizeStrategy getLotSizeStrategy() {
        return lotSizeStrategy;
    }

    public void setLotSizeStrategy(LotSizeStrategy lotSizeStrategy) {
        this.lotSizeStrategy = lotSizeStrategy;
    }
}
